﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000BD7 RID: 3031
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MonopolySocialEventEffectScNotify : IMessage<MonopolySocialEventEffectScNotify>, IMessage, IEquatable<MonopolySocialEventEffectScNotify>, IDeepCloneable<MonopolySocialEventEffectScNotify>, IBufferMessage
	{
		// Token: 0x1700262B RID: 9771
		// (get) Token: 0x0600878E RID: 34702 RVA: 0x0016804F File Offset: 0x0016624F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MonopolySocialEventEffectScNotify> Parser
		{
			get
			{
				return MonopolySocialEventEffectScNotify._parser;
			}
		}

		// Token: 0x1700262C RID: 9772
		// (get) Token: 0x0600878F RID: 34703 RVA: 0x00168056 File Offset: 0x00166256
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MonopolySocialEventEffectScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700262D RID: 9773
		// (get) Token: 0x06008790 RID: 34704 RVA: 0x00168068 File Offset: 0x00166268
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MonopolySocialEventEffectScNotify.Descriptor;
			}
		}

		// Token: 0x06008791 RID: 34705 RVA: 0x0016806F File Offset: 0x0016626F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolySocialEventEffectScNotify()
		{
		}

		// Token: 0x06008792 RID: 34706 RVA: 0x00168082 File Offset: 0x00166282
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolySocialEventEffectScNotify(MonopolySocialEventEffectScNotify other) : this()
		{
			this.socialEvent_ = other.socialEvent_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06008793 RID: 34707 RVA: 0x001680AC File Offset: 0x001662AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolySocialEventEffectScNotify Clone()
		{
			return new MonopolySocialEventEffectScNotify(this);
		}

		// Token: 0x1700262E RID: 9774
		// (get) Token: 0x06008794 RID: 34708 RVA: 0x001680B4 File Offset: 0x001662B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<SocialEventServerCache> SocialEvent
		{
			get
			{
				return this.socialEvent_;
			}
		}

		// Token: 0x06008795 RID: 34709 RVA: 0x001680BC File Offset: 0x001662BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MonopolySocialEventEffectScNotify);
		}

		// Token: 0x06008796 RID: 34710 RVA: 0x001680CA File Offset: 0x001662CA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MonopolySocialEventEffectScNotify other)
		{
			return other != null && (other == this || (this.socialEvent_.Equals(other.socialEvent_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06008797 RID: 34711 RVA: 0x00168100 File Offset: 0x00166300
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.socialEvent_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008798 RID: 34712 RVA: 0x00168134 File Offset: 0x00166334
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008799 RID: 34713 RVA: 0x0016813C File Offset: 0x0016633C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600879A RID: 34714 RVA: 0x00168145 File Offset: 0x00166345
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.socialEvent_.WriteTo(ref output, MonopolySocialEventEffectScNotify._repeated_socialEvent_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600879B RID: 34715 RVA: 0x0016816C File Offset: 0x0016636C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.socialEvent_.CalculateSize(MonopolySocialEventEffectScNotify._repeated_socialEvent_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600879C RID: 34716 RVA: 0x001681A5 File Offset: 0x001663A5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MonopolySocialEventEffectScNotify other)
		{
			if (other == null)
			{
				return;
			}
			this.socialEvent_.Add(other.socialEvent_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600879D RID: 34717 RVA: 0x001681D3 File Offset: 0x001663D3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600879E RID: 34718 RVA: 0x001681DC File Offset: 0x001663DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 114U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.socialEvent_.AddEntriesFrom(ref input, MonopolySocialEventEffectScNotify._repeated_socialEvent_codec);
				}
			}
		}

		// Token: 0x04003397 RID: 13207
		private static readonly MessageParser<MonopolySocialEventEffectScNotify> _parser = new MessageParser<MonopolySocialEventEffectScNotify>(() => new MonopolySocialEventEffectScNotify());

		// Token: 0x04003398 RID: 13208
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003399 RID: 13209
		public const int SocialEventFieldNumber = 14;

		// Token: 0x0400339A RID: 13210
		private static readonly FieldCodec<SocialEventServerCache> _repeated_socialEvent_codec = FieldCodec.ForMessage<SocialEventServerCache>(114U, SocialEventServerCache.Parser);

		// Token: 0x0400339B RID: 13211
		private readonly RepeatedField<SocialEventServerCache> socialEvent_ = new RepeatedField<SocialEventServerCache>();
	}
}
